import http from '@/service/http'
import type * as T from '@/types/api/index'
const ossApi: T.IOss = {
  sign(params) {
    return http.post(`/common/file/preSign/${params.bucketName}`, params)
  },
}

export default ossApi
